//==========================================================================
// Copyright (c) 2000-2008,  Elastos, Inc.  All Rights Reserved.
//==========================================================================

#ifndef __ELASTOS_IOREMAP_H__
#define __ELASTOS_IOREMAP_H__

ELAPI DzIoRemap(
            Address virtualAddr,
            MemorySize size,
            Address physicalAddr,
            MemoryMapFlags flags,
            Int32 protect,
            Address *pVirtualAddr);

ELAPI DzMemoryUnmap(
            Address virtualAddr,
            UInt32 uSize);

ELAPI DzIoUnmap(
            Address virtualAddr,
            UInt32 uSize);

ELAPI DzMemoryQueryPhysicalBlock(
            Address virtualAddr,
            Address *pPhysicalAddr,
            MemorySize *pSize);

#endif //__ELASTOS_IOREMAP_H__
